package com.spring.crm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 何卓
 * @since 2022-01-10
 */
@Getter
@Setter
@TableName("t_sales")
@ApiModel(value = "Sales对象", description = "")
public class Sales implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("sales_id")
    private String salesId;

    @ApiModelProperty("商机名称")
    @TableField("business_name")
    private String businessName;

    @ApiModelProperty("客户id")
    @TableField("custom_id")
    private String customId;

    @ApiModelProperty("预期收益")
    @TableField("expecte_earn")
    private String expecteEarn;

    @ApiModelProperty("优先级")
    @TableField("sales_priority")
    private String salesPriority;

    @ApiModelProperty("销售id")
    @TableField("salesman_id")
    private String salesmanId;

    @ApiModelProperty("预计结束")
    @TableField("expecte_end_time")
    private String expecteEndTime;

    @ApiModelProperty("销售过程id")
    @TableField("sales_process_id")
    private String salesProcessId;

    @ApiModelProperty("0-待审批 1-活动 2-归档 3-废弃")
    @TableField("sales_status")
    private String salesStatus;

    @ApiModelProperty("0-未赢得 1-已赢得")
    @TableField("win_status")
    private String winStatus;

    @ApiModelProperty("描述")
    @TableField("sales_describe")
    private String salesDescribe;

    @ApiModelProperty("报销额度")
    @TableField("expense_limit")
    private String expenseLimit;

    @TableField("remark")
    private String remark;

    @TableField("remark1")
    private String remark1;

    @TableField("remark2")
    private String remark2;

    @TableField("create_time")
    private String createTime;

}
